/*
 * ========================================================
 * Copyright(c) 2014 杭州偶尔科技-版权所有
 * ========================================================
 * 本软件由杭州偶尔科技所有, 未经书面许可, 任何单位和个人不得以
 * 任何形式复制代码的部分或全部, 并以任何形式传播。
 * 公司网址
 * 
 * 			http://www.kkkd.com/
 * 
 * ========================================================
 */
package com.simon.mengkou.data.bean.base;

import com.ouertech.android.agm.lib.base.bean.BaseBean;

import java.util.List;

/**
 * @author : Zhenshui.Xia
 * @since : 2016/3/14.
 * desc    : 商品
 */
public class Product extends BaseBean {
    private static final long serialVersionUID = 1L;
    //商品ID
    private String id;
    //标题
    private String title;
    //商品主图
    private Image image;
   //价格
    private float price;
    //市场价
    private float marketPrice;
    //是否新上架
    private boolean isNew;
    //商品图片
    private List<Image> imageArray;
    //文字内容
    private String content;
    //文字内容
    private String contentUrl;
    //库存
    private int stock;
    //YES 美国直邮 NO不是美国直邮
    private boolean directUS;
    //相关活动列表
    private List<Activity> activities;
    //如果有团购活动，显示团购Id
    private String groupbuyId;
    //预售
    private String preSaleId;
    //数量
    private int count;
    //购物车内的item id
    private String orderItemId;
    //H5地址
    private String shareUrl;
    //店铺
    private Shop shop;
    //是否选中
    private boolean selected;
    //
    private String titleExt;
    //当前用户是否已收藏
    private boolean collected;
    //商品所在仓库
    private Store store;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Image getImage() {
        return image;
    }

    public void setImage(Image image) {
        this.image = image;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public float getMarketPrice() {
        return marketPrice;
    }

    public void setMarketPrice(float marketPrice) {
        this.marketPrice = marketPrice;
    }

    public boolean isNew() {
        return isNew;
    }

    public void setNew(boolean aNew) {
        isNew = aNew;
    }

    public List<Image> getImageArray() {
        return imageArray;
    }

    public void setImageArray(List<Image> imageArray) {
        this.imageArray = imageArray;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getStock() {
        return stock;
    }

    public void setStock(int stock) {
        this.stock = stock;
    }

    public boolean isDirectUS() {
        return directUS;
    }

    public void setDirectUS(boolean directUS) {
        this.directUS = directUS;
    }

    public List<Activity> getActivities() {
        return activities;
    }

    public void setActivities(List<Activity> activities) {
        this.activities = activities;
    }

    public String getGroupbuyId() {
        return groupbuyId;
    }

    public void setGroupbuyId(String groupbuyId) {
        this.groupbuyId = groupbuyId;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getOrderItemId() {
        return orderItemId;
    }

    public void setOrderItemId(String orderItemId) {
        this.orderItemId = orderItemId;
    }

    public String getShareUrl() {
        return shareUrl;
    }

    public void setShareUrl(String shareUrl) {
        this.shareUrl = shareUrl;
    }

    public Shop getShop() {
        return shop;
    }

    public void setShop(Shop shop) {
        this.shop = shop;
    }

    public String getPreSaleId() {
        return preSaleId;
    }

    public void setPreSaleId(String preSaleId) {
        this.preSaleId = preSaleId;
    }

    public boolean isSelected() {
        return selected;
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    }

    public String getContentUrl() {
        return contentUrl;
    }

    public void setContentUrl(String contentUrl) {
        this.contentUrl = contentUrl;
    }

    public String getTitleExt() {
        return titleExt;
    }

    public void setTitleExt(String titleExt) {
        this.titleExt = titleExt;
    }

    public Store getStore() {
        return store;
    }

    public void setStore(Store store) {
        this.store = store;
    }

    public boolean isCollected() {
        return collected;
    }

    public void setCollected(boolean collected) {
        this.collected = collected;
    }
}
